---
function generateRandomHex(length: number) {
  let result = "";
  for (let i = 0; i < length; i++) {
    const randomHex = Math.floor(Math.random() * 16);
    result += randomHex.toString(16);
  }
  return result;
}

const prefix = generateRandomHex(8);
---

<svg
  width={Astro.props.width || "68mm"}
  height={Astro.props.height || "17mm"}
  class={Astro.props.class}
  viewBox="0 0 68 17"
  version="1.1"
  xml:space="preserve"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xmlns="http://www.w3.org/2000/svg"
  ><defs
    ><linearGradient
      id={`gradient8362-${prefix}`}
      x1="8.4564667"
      y1="27.274374"
      x2="22.771099"
      y2="35.561302"
      gradientUnits="userSpaceOnUse"
      ><stop style="stop-color:#f47825;stop-opacity:1;" offset="0"></stop><stop
        style="stop-color:#da5e0b;stop-opacity:1;"
        offset="1"></stop></linearGradient
    ></defs
  ><g transform="translate(-15.427999,-22.71851)"
    ><path
      fill={`url(#gradient8362-${prefix})`}
      d="m 11.003073,22.767734 -4.8343922,8.321098 4.7886622,8.346916 9.62356,0.02582 4.833885,-8.320594 -4.788662,-8.346916 z m 4.806792,1.58942 a 6.7576795,6.7576795 0 0 1 6.739366,6.775625 6.7576795,6.7576795 0 0 1 -6.775627,6.739872 6.7576795,6.7576795 0 0 1 -6.7393644,-6.776131 6.7576795,6.7576795 0 0 1 6.7756254,-6.739366 z m -0.0024,0.881126 a 5.8763526,5.8761037 0.15371828 0 0 -5.892135,5.860604 5.8763526,5.8761037 0.15371828 0 0 5.860604,5.892135 5.8763526,5.8761037 0.15371828 0 0 5.892134,-5.860604 5.8763526,5.8761037 0.15371828 0 0 -5.860603,-5.892135 z m -0.0016,0.577971 a 5.2983509,5.2981263 0.15371828 0 1 5.284184,5.312614 5.2983509,5.2981263 0.15371828 0 1 -5.312614,5.284184 5.2983509,5.2981263 0.15371828 0 1 -5.284184,-5.312614 5.2983509,5.2981263 0.15371828 0 1 5.312614,-5.284184 z m 0.191589,1.216183 -3.733876,5.024738 3.33198,-0.291182 -0.0092,3.430876 3.733369,-5.024739 -3.331473,0.291184 z"
      transform="matrix(1.0210569,-0.00273939,0.00273939,1.0210569,9.0442603,-0.49849995)"
    ></path><g
      transform="matrix(0.26458333,0,0,0.26458333,-1.3707965,-1.3330175)"
      fill="currentColor"
      ><path
        d="m 158.02908,142.93076 v -22.97779 h -5.23111 v -6.35556 h 5.32889 v -5.23111 q 0,-3.32445 1.76,-4.8889 1.76,-1.61333 4.93778,-1.61333 h 8.4089 v 6.35556 h -7.18667 v 5.37778 h 6.6 v 6.35556 h -6.50223 v 22.97779 z"
      ></path><path
        d="m 189.7358,143.51743 q -4.74223,0 -8.26223,-1.85778 -3.52,-1.90667 -5.42667,-5.3289 -1.90667,-3.47111 -1.90667,-8.16444 0,-4.69334 1.85778,-8.06667 1.85778,-3.42223 5.28,-5.23112 3.47112,-1.85778 8.16445,-1.85778 4.59556,0 7.87112,1.76 3.32444,1.76 5.08444,5.03556 1.76001,3.27556 1.76001,7.82223 v 2.73778 h -22.24446 q 0.48889,3.27555 2.49333,4.98667 2.00445,1.71111 5.28001,1.71111 2.59111,0 4.10667,-0.88 1.51555,-0.88 2.15111,-2.68889 h 8.11556 q -0.97778,4.69333 -4.74223,7.38222 -3.76444,2.64001 -9.58222,2.64001 z m -7.62668,-18.5289 h 14.27557 q -0.39111,-2.78667 -2.15111,-4.15556 -1.76001,-1.41778 -4.74223,-1.41778 -2.98222,0 -4.88889,1.41778 -1.85778,1.41778 -2.49334,4.15556 z"
      ></path><path
        d="m 210.5403,142.93076 v -21.31557 h -4.00889 v -8.01778 h 8.21334 v 5.76889 h 2.05334 q 1.17333,-3.08 3.71555,-4.59556 2.54223,-1.51555 5.72001,-1.51555 h 2.49333 v 7.04 h -2.83556 q -3.81333,0 -5.62222,2.15111 -1.76,2.15112 -1.76,5.67112 v 14.81334 z"
      ></path><path
        d="m 234.66921,142.93076 v -21.31557 h -4.00889 v -8.01778 h 8.21333 v 5.76889 h 2.05334 q 1.17333,-3.08 3.71556,-4.59556 2.54222,-1.51555 5.72,-1.51555 h 2.49333 v 7.04 h -2.83555 q -3.81334,0 -5.62223,2.15111 -1.76,2.15112 -1.76,5.67112 v 14.81334 z"
      ></path><path
        d="m 268.96701,143.51743 q -4.79111,0 -8.36,-1.85778 -3.52,-1.90667 -5.47556,-5.3289 -1.95555,-3.42222 -1.95555,-8.11555 0,-4.64445 1.90666,-8.06668 1.95556,-3.42222 5.52445,-5.28 3.56889,-1.85778 8.40889,-1.85778 4.79112,0 8.31112,1.85778 3.52,1.85778 5.42667,5.28 1.90667,3.42223 1.90667,8.11556 0,4.64445 -1.90667,8.11556 -1.90667,3.42223 -5.47556,5.28001 -3.52,1.85778 -8.31112,1.85778 z m 0,-7.04001 q 3.66667,0 5.62223,-2.2 1.95556,-2.24889 1.95556,-6.06222 0,-3.81334 -1.95556,-5.96445 -1.95556,-2.2 -5.62223,-2.2 -3.71555,0 -5.72,2.2 -1.95555,2.15111 -1.95555,5.96445 0,3.81333 1.95555,6.06222 2.00445,2.2 5.72,2.2 z"
      ></path><path
        d="m 290.60262,142.93076 v -21.31557 h -4.00889 v -8.01778 h 8.21334 v 4.79111 h 2.05333 q 1.71111,-2.54222 4.30222,-3.91111 2.59112,-1.41778 6.45334,-1.41778 6.11112,0 9.43556,3.37334 3.37334,3.32444 3.37334,8.94667 v 17.55112 h -8.11556 v -16.03557 q 0,-3.22666 -1.76,-4.88889 -1.71112,-1.71111 -5.03556,-1.71111 -3.32445,0 -5.08445,1.71111 -1.71111,1.66223 -1.71111,4.88889 v 16.03557 z"
      ></path></g
    ></g
  ></svg
>
